<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>表单绑定-文本框text（常用写法）</title>
  <script type="text/javascript" src="vue.js"></script>
</head>
   <body>
    <div id="app">  
        <input v-model="name" placeholder="请输入姓名">
        <p>{{ name }} 您好！</p>
    </div>
      <script>
        let vm = new Vue({
           el:"#app",
           data:{
               name:""
           }
        })
     </script>
   </body>
</html>